pub const BSL_ERR_NEW_MODULE: u32 = 128;
unsafe extern "C" {
    pub fn BSL_ERR_Init() -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_DeInit();
}
unsafe extern "C" {
    pub fn BSL_ERR_RemoveErrorStack(isRemoveAll: bool);
}
unsafe extern "C" {
    pub fn BSL_ERR_GetLastError() -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_GetLastErrorFileLine(
        file: *mut *const ::std::os::raw::c_char,
        lineNo: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_PeekLastErrorFileLine(
        file: *mut *const ::std::os::raw::c_char,
        lineNo: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_GetError() -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_GetErrorFileLine(
        file: *mut *const ::std::os::raw::c_char,
        lineNo: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_PeekErrorFileLine(
        file: *mut *const ::std::os::raw::c_char,
        lineNo: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_ClearError();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct BSL_ERR_Desc {
    pub error: i32,
    pub string: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of BSL_ERR_Desc"][::std::mem::size_of::<BSL_ERR_Desc>() - 16usize];
    ["Alignment of BSL_ERR_Desc"][::std::mem::align_of::<BSL_ERR_Desc>() - 8usize];
    ["Offset of field: BSL_ERR_Desc::error"][::std::mem::offset_of!(BSL_ERR_Desc, error) - 0usize];
    ["Offset of field: BSL_ERR_Desc::string"]
        [::std::mem::offset_of!(BSL_ERR_Desc, string) - 8usize];
};
unsafe extern "C" {
    pub fn BSL_ERR_AddErrStringBatch(descList: *const BSL_ERR_Desc, num: u32) -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_RemoveErrStringBatch();
}
unsafe extern "C" {
    pub fn BSL_ERR_GetString(error: i32) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn BSL_ERR_SetMark() -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_PopToMark() -> i32;
}
unsafe extern "C" {
    pub fn BSL_ERR_ClearLastMark() -> i32;
}
